/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-05-15 18:11:04
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {
    searchObj: [
        {
            xm: true, //是input
            label: "项目名称：", //字段
            prop: "fprojectid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
        },
        {
            bd: true, //是input
            label: "标段名称：", //字段
            prop: "fCompanyid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用

        },{
            datePickerIsRange: true, //是input
            label: "进场时间", //字段
            prop: "timeDates", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "进场时间",

        }, {
            select: true, //是input
            label: "材料种类", //字段
            prop: "keyType", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "材料种类",
            options: []

        },
        {
            select: true, //是input
            label: "取样状态", //字段
            prop: "fStatus", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "取样状态",
            options: [{
                label: "取样状态",
                value: ""
            }, {
                label: "待取样",
                value: "待取样",
            }, {
                label: "已取样",
                value: "已取样",
            }, {
                label: "已收样",
                value: "已收样",
            }]
        },
        {
            select: true, //是input
            label: "检测状态", //字段
            prop: "fCheckStatus", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "检测状态",
            options: [{
                label: "检测状态",
                value: ""
            }, {
                label: "在检",
                value: "在检",
            },{
                label: "待检",
                value: "待检",
            }, {
                label: "已检",
                value: "已检",
            }]
        },
        // 
        {
            select: true, //是input
            label: "检测结果", //字段
            prop: "checkResult", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "检测结果",
            options: [{
                label: "检测结果",
                value: ""
            }, {
                label: "合格",
                value: "合格",
            }, {
                label: "不合格",
                value: "不合格",
            }]
        },
        {
            input: true, //是input
            label: "取样编号", //字段
            prop: "fSamplenumber", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "取样编号",
    
        },
        // {
        //     input: true, //是input
        //     label: ".", //字段
        //     prop: "keyWord", //字段名
        //     width: 6, //参考el-col
        //     disabled: false, //是否禁用
        //     placeholder: "材料名称",

        // },
        {
            btn: true, //是input
            width: 24, //参考el-col

        },
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [{
                label: "项目简称",
                prop: "fProjectname",
                minWidth: "280px",
                align: "left",
            },
            {
                label: "标段",
                prop: "fCompanyname",
                minWidth: "60px",
                align: "left",

            },
            {
                label: "进场日期",
                prop: "fEntrydates",
                minWidth: "90px",
                align: "center",
            },
            {
                label: '进场编号',
                prop: 'fEntrynumber',
                minWidth: '220px',
                align: "center",
                Jump: true,
            },
            // {
            //     label: "供应商",
            //     prop: "fManufacturername",
            //     minWidth: "80px",
            //     align: "left",
            // },
            {
                label: "材料名称",
                prop: "fMaterialname",
                minWidth: "80px",
                align: "left",
            },
            {
                label: "规格型号",
                prop: "fSpecification",
                minWidth: "100px",
                align: "center",
            },
            {
                label: "生产厂家",
                prop: "fSuppliername",
                minWidth: "100px",
                align: "left",
            },
            {
                label: "批号",
                prop: "fBatchnumber",
                minWidth: "90px",
                align: "center",
            }, {
                label: "进场数量",
                prop: "fEntrynum",
                minWidth: "70px",
                align: "center",
            }, {
                label: "单位",
                prop: "fUnit",
                minWidth: "50px",
                align: "center",
            }, {
                label: "检测频率",
                prop: "fInsfrequency",
                minWidth: "70px",
                align: "center",
            }, {
                label: "应检次数",
                prop: "fInspectionnum",
                minWidth: "70px",
                align: "center",
            }, {
                label: "取样状态",
                prop: "QYZT",
                minWidth: "70px",
                align: "center",
            }, {
                label: "施工自检次数",
                prop: "SGZJNum",
                minWidth: "95px",
                align: "center",
            }, {
                label: "施工外委次数",
                prop: "SGWWNum",
                minWidth: "95px",
                align: "center",
            }, {
                label: "监理抽检次数",
                prop: "JJCJNum",
                minWidth: "95px",
                align: "center",
            }, {
                label: "监理外委次数",
                prop: "JLWWNum",
                minWidth: "95px",
                align: "center",
            }, {
                label: "检测状态",
                prop: "JCZT",
                minWidth: "70px",
                align: "center",
            }, {
                label: "检测结果",
                prop: "JCJJ",
                minWidth: "70px",
                align: "center",
            }, {
                label: "闭合状态",
                prop: "BHZT",
                minWidth: "70px",
                align: "center",
            }
        ],

        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '操作',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },

    btnObj: [{
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },

    ]
}